package cn.com.cifi.mars.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

import cn.com.cifi.mars.entity.MdmStage;

/**
 * <p>
 * （主数据）项目分期表 服务类
 * </p>
 *
 * @author yyd
 * @since 2019-09-24
 */
public interface StageService extends IService<MdmStage> {

    void updateByProjectFid(MdmStage stage);
    
    MdmStage selectById(String projectFid);

    List<MdmStage> selectByProjectId(String projectId, int key);

    List<MdmStage> selectStagesByprojectFid(String projectFid);

	void insertBatch(List<MdmStage> mdmStageList);

    MdmStage selectByKingdeeProjectfId(String kingdeeValueStageId);
    
    boolean isActiveStage(String projectFid);

    List<MdmStage> selectAll();

}
